package com.consumer.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author LeeXyan
 * @Date 2017/7/31 0031
 * @time 17:29
 */
@FeignClient(name = "servant")
public interface DcService {
    @RequestMapping("/dc")
    String dc(@RequestParam("name")String name);
}
